package ClassWork.Work_03.Person;

public class Student extends Person{
    private String className;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Student() {

    }

    public void show(){
        super.show();
        System.out.println("ClassName: " + this.className);
    }

    public void study(){
        System.out.println("学生" + getName() + "在" + getClassName() + "学习。");
    }
}
